package com.ruoyi.crm.domain;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper=true)
@TableName("crm_pool_info")
@ExcelIgnoreUnannotated
public class PoolCustomer extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**公海ID(主键)*/
    @TableId(value = "pool_id")
    @ExcelProperty(value = "公海ID")
    private Long poolId;

    /**客户ID*/
    @TableField("customer_id")
    @ExcelProperty(value = "客户ID")
    private Long customerId;

    /**客户类型ID*/
    @TableField("customer_type_id")
    @ExcelProperty(value = "客户类型ID")
    private Long customerTypeId;

    /**客户来源ID*/
    @TableField("source_id")
    @ExcelProperty(value = "客户来源ID")
    private Long sourceId;

    /**所属行业ID*/
    @TableField("industry_id")
    @ExcelProperty(value = "所属行业ID")
    private Long industryId;

    /**公司规模ID*/
    @TableField("company_size_id")
    @ExcelProperty(value = "公司规模ID")
    private Long companySizeId;

    /**负责人ID*/
    @TableField("responsible_person_id")
    @ExcelProperty(value = "负责人ID")
    private Long responsiblePersonId;

    /**联系人ID*/
    @TableField("contact_id")
    @ExcelProperty(value = "联系人ID")
    private Long contactId;

    /**客户级别ID*/
    @TableField("customer_tier_id")
    @ExcelProperty(value = "客户级别ID")
    private Long customerTierId;

    /**客户标签ID*/
    @TableField("customer_tags_id")
    @ExcelProperty(value = "客户标签ID")
    private Long customerTagsId;

    @TableField("department_id")
    @ExcelProperty(value = "部门ID")
    private Long departmentId;

    /**放入公海原因*/
    @ExcelProperty(value = "放入公海原因")
    private String reason;

    /**下次联系时间*/
    @TableField("next_time")
    @ExcelProperty(value = "下次联系时间")
    private Date nextTime;

    /**备注*/
    @ExcelProperty(value = "备注")
    private String remark;
}
